package com.yeyks.consumer.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 签到表
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SignIn对象", description="签到表")
public class SignIn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "连续签到天数")
    @TableField("continue_days")
    private Integer continueDays;

    @ApiModelProperty(value = "签到获取的鱼宝数")
    @TableField("fish_ball_count")
    private Integer fishBallCount;

    @ApiModelProperty(value = "签到时间")
    @TableField("sign_time")
    private Date signTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String CONTINUE_DAYS = "continue_days";

    public static final String FISH_BALL_COUNT = "fish_ball_count";

    public static final String SIGN_TIME = "sign_time";

    public static final String CREATE_TIME = "create_time";

}
